package com.zc.entity;

/**
 * 路径类
 */
public class Path {
    private Integer id;

    private String pathName;//路径名字

    private Integer fatherLeaf;//父节点(0:无,其他自对应)

    private Integer sonLeaf;//子节点(0:无,其他自对应)

    private Integer rootLeaf;//节点等级(0:根节点,越小等级越靠前)

    private Integer sortLevel;//排序等级

    private String remark;//path的备注(100个字以内)

    private Integer state;//路径的状态(0:正常使用,1:删除)

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName == null ? null : pathName.trim();
    }

    public Integer getFatherLeaf() {
        return fatherLeaf;
    }

    public void setFatherLeaf(Integer fatherLeaf) {
        this.fatherLeaf = fatherLeaf;
    }

    public Integer getSonLeaf() {
        return sonLeaf;
    }

    public void setSonLeaf(Integer sonLeaf) {
        this.sonLeaf = sonLeaf;
    }

    public Integer getRootLeaf() {
        return rootLeaf;
    }

    public void setRootLeaf(Integer rootLeaf) {
        this.rootLeaf = rootLeaf;
    }

    public Integer getSortLevel() {
        return sortLevel;
    }

    public void setSortLevel(Integer sortLevel) {
        this.sortLevel = sortLevel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}